/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package it.unibo.as.client;

import java.io.Serializable;

/**
 *
 * @author Johnny
 */
public class Table implements Serializable{

    public Table() {
        this.AIPlayers = 0;
        this.activePlayers = 0;
        this.Name = "NoName";
    }

    private static final long serialVersionUID = 7526472295622776147L;
    
    public Table(String Name, int AIPlayers, int activePlayers) {
        this.AIPlayers = AIPlayers;
        this.activePlayers = activePlayers;
        this.Name = Name;
    }

    public Table(int AIPlayers, int activePlayers) {
        this.AIPlayers = AIPlayers;
        this.activePlayers = activePlayers;
        this.Name = "NoName";
    }

    private int AIPlayers;

    /**
     * Get the value of AIPlayers
     *
     * @return the value of AIPlayers
     */
    public int getAIPlayers() {
        return AIPlayers;
    }

    /**
     * Set the value of AIPlayers
     *
     * @param AIPlayers new value of AIPlayers
     */
    public void setAIPlayers(Integer AIPlayers) {
        this.AIPlayers = AIPlayers;
    }

    private int activePlayers;

    /**
     * Get the value of activePlayers
     *
     * @return the value of activePlayers
     */
    public int getActivePlayers() {
        return activePlayers;
    }

    /**
     * Set the value of activePlayers
     *
     * @param activePlayers new value of activePlayers
     */
    public void setActivePlayers(Integer activePlayers) {
        this.activePlayers = activePlayers;
    }

    private String Name;

    /**
     * Get the value of Name
     *
     * @return the value of Name
     */
    public String getName() {
        return Name;
    }

    /**
     * Set the value of Name
     *
     * @param Name new value of Name
     */
    public void setName(String Name) {
        this.Name = Name;
    }


}
